<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>BDHttpApis Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">bytedesk-core </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">bytedesk.com</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	

	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/agentCloseThread:resultSuccess:resultFailed:">- agentCloseThread:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/agentThreadsResultSuccess:resultFailed:">- agentThreadsResultSuccess:resultFailed:</option>
		
		<option value="//api/name/authWithRole:withUsername:withPassword:withAppkey:withSubdomain:resultSuccess:resultFailed:">- authWithRole:withUsername:withPassword:withAppkey:withSubdomain:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/failError:resultSuccess:resultFailed:">- failError:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/getContactsResultSuccess:resultFailed:">- getContactsResultSuccess:resultFailed:</option>
		
		<option value="//api/name/getGroupsResultSuccess:resultFailed:">- getGroupsResultSuccess:resultFailed:</option>
		
		<option value="//api/name/getMessageWithUser:withPage:resultSuccess:resultFailed:">- getMessageWithUser:withPage:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/getQueuesPage:resultSuccess:resultFailed:">- getQueuesPage:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/initDataResultSuccess:resultFailed:">- initDataResultSuccess:resultFailed:</option>
		
		<option value="//api/name/isNetworkReachable">- isNetworkReachable</option>
		
		<option value="//api/name/logoutResultSuccess:resultFailed:">- logoutResultSuccess:resultFailed:</option>
		
		<option value="//api/name/registerAdmin:withPassword:resultSuccess:resultFailed:">- registerAdmin:withPassword:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/registerAnonymousUserWithAppkey:withSubdomain:resultSuccess:resultFailed:">- registerAnonymousUserWithAppkey:withSubdomain:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/registerUser:withNickname:withPassword:withSubDomain:resultSuccess:resultFailed:">- registerUser:withNickname:withPassword:withSubDomain:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/requestThreadWithAgentUid:resultSuccess:resultFailed:">- requestThreadWithAgentUid:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/requestThreadWithWorkGroupWid:resultSuccess:resultFailed:">- requestThreadWithWorkGroupWid:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/sendImageMessage:toTid:localId:sessionType:resultSuccess:resultFailed:">- sendImageMessage:toTid:localId:sessionType:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/sendMessage:type:toTid:localId:sessionType:resultSuccess:resultFailed:">- sendMessage:type:toTid:localId:sessionType:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/sendPreviewMessage:toTid:localId:sessionType:resultSuccess:resultFailed:">- sendPreviewMessage:toTid:localId:sessionType:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/sendReceiptMessage:toTid:localId:sessionType:resultSuccess:resultFailed:">- sendReceiptMessage:toTid:localId:sessionType:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/sendTextMessage:toTid:localId:sessionType:resultSuccess:resultFailed:">- sendTextMessage:toTid:localId:sessionType:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/sendVoiceMessage:toTid:localId:sessionType:resultSuccess:resultFailed:">- sendVoiceMessage:toTid:localId:sessionType:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/uploadDeviceInfo">- uploadDeviceInfo</option>
		
		<option value="//api/name/uploadImageData:withImageName:resultSuccess:resultFailed:">- uploadImageData:withImageName:resultSuccess:resultFailed:</option>
		
		<option value="//api/name/uploadVoice:resultSuccess:resultFailed:">- uploadVoice:resultSuccess:resultFailed:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">BDHttpApis Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>BDHttpApis.h<br />BDHttpApis.m</td>
</tr>
						</tbody></table></div>
					

                    

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/registerAnonymousUserWithAppkey:withSubdomain:resultSuccess:resultFailed:" title="registerAnonymousUserWithAppkey:withSubdomain:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/registerAnonymousUserWithAppkey:withSubdomain:resultSuccess:resultFailed:">&ndash;&nbsp;registerAnonymousUserWithAppkey:withSubdomain:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>从服务器请求用户名</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)registerAnonymousUserWithAppkey:(NSString *)<em>appkey</em> withSubdomain:(NSString *)<em>subdomain</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>从服务器请求用户名</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/registerUser:withNickname:withPassword:withSubDomain:resultSuccess:resultFailed:" title="registerUser:withNickname:withPassword:withSubDomain:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/registerUser:withNickname:withPassword:withSubDomain:resultSuccess:resultFailed:">&ndash;&nbsp;registerUser:withNickname:withPassword:withSubDomain:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>注册自定义普通用户：用于IM</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)registerUser:(NSString *)<em>username</em> withNickname:(NSString *)<em>nickname</em> withPassword:(NSString *)<em>password</em> withSubDomain:(NSString *)<em>subDomain</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>username</code></th>
						<td><p>&lt;#username description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>nickname</code></th>
						<td><p>&lt;#nickname description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>password</code></th>
						<td><p>&lt;#password description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>subDomain</code></th>
						<td><p>&lt;#subDomain description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>&lt;#success description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>注册自定义普通用户：用于IM</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/registerAdmin:withPassword:resultSuccess:resultFailed:" title="registerAdmin:withPassword:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/registerAdmin:withPassword:resultSuccess:resultFailed:">&ndash;&nbsp;registerAdmin:withPassword:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>注册管理员账号，客服管理员</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)registerAdmin:(NSString *)<em>email</em> withPassword:(NSString *)<em>password</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>email</code></th>
						<td><p>&lt;#email description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>password</code></th>
						<td><p>&lt;#password description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>&lt;#success description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>注册管理员账号，客服管理员</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/requestThreadWithWorkGroupWid:resultSuccess:resultFailed:" title="requestThreadWithWorkGroupWid:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/requestThreadWithWorkGroupWid:resultSuccess:resultFailed:">&ndash;&nbsp;requestThreadWithWorkGroupWid:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>工作组会话</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)requestThreadWithWorkGroupWid:(NSString *)<em>wId</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>工作组会话</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/requestThreadWithAgentUid:resultSuccess:resultFailed:" title="requestThreadWithAgentUid:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/requestThreadWithAgentUid:resultSuccess:resultFailed:">&ndash;&nbsp;requestThreadWithAgentUid:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>指定坐席</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)requestThreadWithAgentUid:(NSString *)<em>uid</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>uid</code></th>
						<td><p>&lt;#uid description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>&lt;#success description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>指定坐席</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/initDataResultSuccess:resultFailed:" title="initDataResultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/initDataResultSuccess:resultFailed:">&ndash;&nbsp;initDataResultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>初始化从服务器获取：
1. 客服个人信息
2. 队列信息
3. 会话信息</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)initDataResultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>&lt;#success description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>初始化从服务器获取：
1. 客服个人信息
2. 队列信息
3. 会话信息</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/agentThreadsResultSuccess:resultFailed:" title="agentThreadsResultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/agentThreadsResultSuccess:resultFailed:">&ndash;&nbsp;agentThreadsResultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>&lt;#Description#></p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)agentThreadsResultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>&lt;#success description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>&lt;#Description#></p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/agentCloseThread:resultSuccess:resultFailed:" title="agentCloseThread:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/agentCloseThread:resultSuccess:resultFailed:">&ndash;&nbsp;agentCloseThread:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Description</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)agentCloseThread:(NSString *)<em>tid</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>Description</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/getContactsResultSuccess:resultFailed:" title="getContactsResultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/getContactsResultSuccess:resultFailed:">&ndash;&nbsp;getContactsResultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取好友列表</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)getContactsResultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>success description</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取好友列表</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/getQueuesPage:resultSuccess:resultFailed:" title="getQueuesPage:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/getQueuesPage:resultSuccess:resultFailed:">&ndash;&nbsp;getQueuesPage:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取当前进行中会话</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)getQueuesPage:(NSUInteger)<em>page</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>&lt;#success description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取当前进行中会话</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/getGroupsResultSuccess:resultFailed:" title="getGroupsResultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/getGroupsResultSuccess:resultFailed:">&ndash;&nbsp;getGroupsResultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取群组</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)getGroupsResultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>&lt;#success description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取群组</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/isNetworkReachable" title="isNetworkReachable"></a>
	<h3 class="method-title"><code><a href="#//api/name/isNetworkReachable">&ndash;&nbsp;isNetworkReachable</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>检测网络是否可用</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (BOOL)isNetworkReachable</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>检测网络是否可用</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/authWithRole:withUsername:withPassword:withAppkey:withSubdomain:resultSuccess:resultFailed:" title="authWithRole:withUsername:withPassword:withAppkey:withSubdomain:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/authWithRole:withUsername:withPassword:withAppkey:withSubdomain:resultSuccess:resultFailed:">&ndash;&nbsp;authWithRole:withUsername:withPassword:withAppkey:withSubdomain:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>通过passport授权</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)authWithRole:(NSString *)<em>role</em> withUsername:(NSString *)<em>username</em> withPassword:(NSString *)<em>password</em> withAppkey:(NSString *)<em>appkey</em> withSubdomain:(NSString *)<em>subdomain</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>通过passport授权</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendTextMessage:toTid:localId:sessionType:resultSuccess:resultFailed:" title="sendTextMessage:toTid:localId:sessionType:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendTextMessage:toTid:localId:sessionType:resultSuccess:resultFailed:">&ndash;&nbsp;sendTextMessage:toTid:localId:sessionType:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>同步发送文本消息</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendTextMessage:(NSString *)<em>content</em> toTid:(NSString *)<em>tId</em> localId:(NSString *)<em>localId</em> sessionType:(NSString *)<em>sessiontype</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>content</code></th>
						<td><p>&lt;#content description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>tId</code></th>
						<td><p>&lt;#tId description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sessiontype</code></th>
						<td><p>&lt;#stype description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>同步发送文本消息</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendImageMessage:toTid:localId:sessionType:resultSuccess:resultFailed:" title="sendImageMessage:toTid:localId:sessionType:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendImageMessage:toTid:localId:sessionType:resultSuccess:resultFailed:">&ndash;&nbsp;sendImageMessage:toTid:localId:sessionType:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>同步发送图片消息</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendImageMessage:(NSString *)<em>content</em> toTid:(NSString *)<em>tId</em> localId:(NSString *)<em>localId</em> sessionType:(NSString *)<em>sessiontype</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>content</code></th>
						<td><p>&lt;#content description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>tId</code></th>
						<td><p>&lt;#tId description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sessiontype</code></th>
						<td><p>&lt;#stype description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>同步发送图片消息</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendVoiceMessage:toTid:localId:sessionType:resultSuccess:resultFailed:" title="sendVoiceMessage:toTid:localId:sessionType:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendVoiceMessage:toTid:localId:sessionType:resultSuccess:resultFailed:">&ndash;&nbsp;sendVoiceMessage:toTid:localId:sessionType:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>同步发送语音消息</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendVoiceMessage:(NSString *)<em>content</em> toTid:(NSString *)<em>tId</em> localId:(NSString *)<em>localId</em> sessionType:(NSString *)<em>sessiontype</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>content</code></th>
						<td><p>&lt;#content description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>tId</code></th>
						<td><p>&lt;#tId description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sessiontype</code></th>
						<td><p>&lt;#stype description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>同步发送语音消息</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendPreviewMessage:toTid:localId:sessionType:resultSuccess:resultFailed:" title="sendPreviewMessage:toTid:localId:sessionType:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendPreviewMessage:toTid:localId:sessionType:resultSuccess:resultFailed:">&ndash;&nbsp;sendPreviewMessage:toTid:localId:sessionType:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>同步发送预知消息</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendPreviewMessage:(NSString *)<em>content</em> toTid:(NSString *)<em>tId</em> localId:(NSString *)<em>localId</em> sessionType:(NSString *)<em>sessiontype</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>content</code></th>
						<td><p>&lt;#content description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>tId</code></th>
						<td><p>&lt;#tId description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>localId</code></th>
						<td><p>&lt;#localId description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sessiontype</code></th>
						<td><p>&lt;#sessiontype description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>&lt;#success description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>同步发送预知消息</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendReceiptMessage:toTid:localId:sessionType:resultSuccess:resultFailed:" title="sendReceiptMessage:toTid:localId:sessionType:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendReceiptMessage:toTid:localId:sessionType:resultSuccess:resultFailed:">&ndash;&nbsp;sendReceiptMessage:toTid:localId:sessionType:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>同步发送消息回执</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendReceiptMessage:(NSString *)<em>content</em> toTid:(NSString *)<em>tId</em> localId:(NSString *)<em>localId</em> sessionType:(NSString *)<em>sessiontype</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>content</code></th>
						<td><p>&lt;#content description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>tId</code></th>
						<td><p>&lt;#tId description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>localId</code></th>
						<td><p>&lt;#localId description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sessiontype</code></th>
						<td><p>&lt;#sessiontype description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>&lt;#success description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>同步发送消息回执</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendMessage:type:toTid:localId:sessionType:resultSuccess:resultFailed:" title="sendMessage:type:toTid:localId:sessionType:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendMessage:type:toTid:localId:sessionType:resultSuccess:resultFailed:">&ndash;&nbsp;sendMessage:type:toTid:localId:sessionType:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>同步发送消息</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendMessage:(NSString *)<em>content</em> type:(NSString *)<em>type</em> toTid:(NSString *)<em>tId</em> localId:(NSString *)<em>localId</em> sessionType:(NSString *)<em>sessiontype</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>content</code></th>
						<td><p>&lt;#content description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>type</code></th>
						<td><p>&lt;#type description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>tId</code></th>
						<td><p>&lt;#tId description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>sessiontype</code></th>
						<td><p>&lt;#stype description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>同步发送消息</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/getMessageWithUser:withPage:resultSuccess:resultFailed:" title="getMessageWithUser:withPage:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/getMessageWithUser:withPage:resultSuccess:resultFailed:">&ndash;&nbsp;getMessageWithUser:withPage:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取某个访客的聊天记录</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)getMessageWithUser:(NSString *)<em>uid</em> withPage:(NSInteger)<em>page</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取某个访客的聊天记录</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/uploadImageData:withImageName:resultSuccess:resultFailed:" title="uploadImageData:withImageName:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/uploadImageData:withImageName:resultSuccess:resultFailed:">&ndash;&nbsp;uploadImageData:withImageName:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>&lt;#Description#></p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)uploadImageData:(NSData *)<em>imageData</em> withImageName:(NSString *)<em>imageName</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>imageData</code></th>
						<td><p>&lt;#imageData description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>imageName</code></th>
						<td><p>&lt;#imageName description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>&lt;#success description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>&lt;#Description#></p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/uploadVoice:resultSuccess:resultFailed:" title="uploadVoice:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/uploadVoice:resultSuccess:resultFailed:">&ndash;&nbsp;uploadVoice:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>&lt;#Description#></p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)uploadVoice:(NSString *)<em>voicePath</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>voicePath</code></th>
						<td><p>&lt;#voicePath description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>&lt;#success description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>&lt;#Description#></p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/uploadDeviceInfo" title="uploadDeviceInfo"></a>
	<h3 class="method-title"><code><a href="#//api/name/uploadDeviceInfo">&ndash;&nbsp;uploadDeviceInfo</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>&lt;#Description#></p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)uploadDeviceInfo</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>&lt;#Description#></p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/logoutResultSuccess:resultFailed:" title="logoutResultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/logoutResultSuccess:resultFailed:">&ndash;&nbsp;logoutResultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>&lt;#Description#></p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)logoutResultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>&lt;#success description#></p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>&lt;#failed description#></p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>&lt;#Description#></p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/failError:resultSuccess:resultFailed:" title="failError:resultSuccess:resultFailed:"></a>
	<h3 class="method-title"><code><a href="#//api/name/failError:resultSuccess:resultFailed:">&ndash;&nbsp;failError:resultSuccess:resultFailed:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>错误处理</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)failError:(NSError *)<em>error</em> resultSuccess:(SuccessCallbackBlock)<em>success</em> resultFailed:(FailedCallbackBlock)<em>failed</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>error</code></th>
						<td><p>error</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>success</code></th>
						<td><p>成功回调</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>failed</code></th>
						<td><p>失败回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>错误处理</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">BDHttpApis.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2019 bytedesk.com. All rights reserved. Updated: 2019-01-25</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>